function ShowCategories(){
    let categories = {
        "fenlei":[
            "精选@@https://gitee.com/mofeibai/hiker_info/raw/master/migu/tubiao/jingxuan.png",
            "主题@@https://gitee.com/mofeibai/hiker_info/raw/master/migu/tubiao/zhuti.png",
            "心情@@https://gitee.com/mofeibai/hiker_info/raw/master/migu/tubiao/xinqing.png",
            "场景@@https://gitee.com/mofeibai/hiker_info/raw/master/migu/tubiao/changjing.png",
            "流派@@https://gitee.com/mofeibai/hiker_info/raw/master/migu/tubiao/qufeng.png",
            "语言@@https://gitee.com/mofeibai/hiker_info/raw/master/migu/tubiao/yuyan.png"
            
        ],
        "detail":[
            [
            "推荐@@recommend",
            "最新@@latest"
            
            ],
            [
            "网络@@1001076096",
            "中国风@@1000001675",
            "经典@@1000001635",
            "小清新@@1000587673",
            "厂牌@@1003449727",
            "电影@@1001076080",
            "综艺@@1001076083",
            "青春校园@@1000587712",
            "80后@@1000587718",
            "90后@@1000587726",
            "爱情@@1000001698",
            "游戏@@1000587698",
            "动漫@@1000587706",
            "ktv@@1000001827",
            "70后@@1000587717",
            "电视剧@@1001076078",
            "红歌@@1000001670",
            "广场舞@@1000587702",
            "儿童歌曲@@1000001780"
            ],
            [
            "减压@@1000587679",
            "欢快@@1000001694",
            "怀旧@@1000001696",
            "励志@@1000001700",
            "思念@@1000001703",
            "幸福@@1000587677",
            "期待@@1000587667",
            "宣泄@@1002600585",
            "治愈@@1000587710",
            "寂寞@@1000001699",
            "伤感@@1000001795",
            "叛逆@@1002600588",
            "忧郁@@1002600579"
            
            ],
            [
            "睡前@@1000587688",
            "清晨@@1000587689",
            "散步@@1000587694",
            "旅行@@1000001749",
            "夜晚@@1000587690",
            "读书@@1003449726",
            "下午茶@@1003449723",
            "体育@@1003449615",
            "驾车@@1000093923",
            "派对@@1002600606",
            "夜店@@1000587686",
            ],
            [
            "流行@@1000001672",
            "电子@@1000001682",
            "民谣@@1000001775",
            "古典@@1000001783",
            "纯音乐@@1000001807",
            "电子舞曲@@1000001852",
            "乡村@@1000001683",
            "摇滚@@1000001674",
            "嘻哈@@1000001809",
            "爵士@@1000001681",
            "R&B@@1000001808",
            "蓝调@@1000001851"
            ],
            [
            "华语@@1000001762",
            "欧美@@1000001766",
            "韩语@@1000001599",
            "粤语@@1000001763",
            "日语@@1000001767",
            "小语种@@1003449724"
            ]
        ]
    }
    let res = {}; 
    let d = []; 
    for(let i=0;i<categories.fenlei.length;i++){
        d.push({
            title:categories.fenlei[i].split("@@")[0],
            pic_url:categories.fenlei[i].split("@@")[1],
            url:"hiker://home@咪咕",
            col_type:"avatar"
        });
        var coltype ;
        var listmethod;
        var order_id;
        for(let j=0;j<categories.detail[i].length;j++){
            if(categories.detail[i].length == 2){
                coltype = "text_2";
                order_id = "sort=" + categories.detail[i][j].split("@@")[1]
            }else if(categories.detail[i].length == 3){
                coltype = "text_3"
            }else{
                coltype = "text_4";
                order_id = "tagId=" + categories.detail[i][j].split("@@")[1]
            }
            d.push({
                title:categories.detail[i][j].split("@@")[0],
                url:"https://music.migu.cn/v3/music/playlist?"+order_id+"&page=fypage",
                col_type: coltype
            });
        }
    }
    res.data = d; 
    setHomeResult(res);
}


